-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.4.2
-
Code
-
Classes
- CartCustomerHelper
Total Complexity |
35 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
258 |
Lines of code |
151 |
Logical lines of code |
71 |
Comment lines |
50 |
Methods |
12 |
Properties |
2 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
convertForStrToTime() |
A |
56 |
8 |
17 |
getTotalSpendAmount() |
S |
51 |
5 |
29 |
getOrderCountAfter() |
S |
54 |
4 |
22 |
getOrderCountAfterPaidStatuses() |
S |
54 |
4 |
22 |
getOrderIds() |
S |
58 |
2 |
15 |
getAvgSpendAmount() |
S |
61 |
2 |
12 |
__construct() |
S |
75 |
2 |
4 |
isLoggedIn() |
S |
72 |
2 |
5 |
getLastPaidOrder() |
S |
63 |
2 |
10 |
getPreparedIsPaidOrderStatuses() |
S |
71 |
2 |
5 |
withContext() |
S |
81 |
1 |
3 |
isFirstOrder() |
S |
68 |
1 |
7 |